import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import axios from 'axios'
import VueAxios from 'vue-axios'


axios.defaults.baseURL = 'http://localhost:8888/api'
axios.defaults.headers.ddstoken = store.state.token
createApp(App).use(store).use(router).use(Vant).use(VueAxios, axios).mount('#app')
